import './heading.css'

export default()=>{
    console.log('heading~')
    const element = document.createElement('h2')
    element.classList.add('heading')
    element.textContent = 'Hello world11'
    element.addEventListener('click',()=>{
        alert('Hello webpack')
    })

    return element
}